package com.morningstar.qs.basic.db.bean;

import java.util.Date;
import java.util.List;

import com.morningstar.qs.basic.db.util.BeanBase;

public class GroupComponent extends BeanBase implements  java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5692131292134311166L;
	
	private int groComId;
	private short groupId;
	private int compId;
	private String editor;
	private Date createDate;
	private Date lastUpdateDate;
	
	//transient
	private String compCode;
	

	
	public GroupComponent() {
		super();
	}
	
	public GroupComponent(int groComId, short groupId, int compId,
			String editor, Date createDate, Date lastUpdateDate) {
		super();
		this.groComId = groComId;
		this.groupId = groupId;
		this.compId = compId;
		this.editor = editor;
		this.createDate = createDate;
		this.lastUpdateDate = lastUpdateDate;
	}
	
	
	public GroupComponent(int groComId, short groupId, int compId, String compCode) {
		super();
		this.groComId = groComId;
		this.groupId = groupId;
		this.compId = compId;
		this.compCode = compCode;
	}
	
	
	@Override
	public String toString() {
		return "GroupComponent [groComId=" + groComId + ", groupId=" + groupId
				+ ", compId=" + compId + ", editor=" + editor
				+ ", createDate=" + createDate + ", lastUpdateDate=" + lastUpdateDate
				+ "]";
	}
	
	
	public int getGroComId() {
		return groComId;
	}
	public void setGroComId(int groComId) {
		this.groComId = groComId;
	}
	public short getGroupId() {
		return groupId;
	}
	public void setGroupId(short groupId) {
		this.groupId = groupId;
	}
	public int getCompId() {
		return compId;
	}
	public void setCompId(int compId) {
		this.compId = compId;
	}
	public String getEditor() {
		return editor;
	}
	public void setEditor(String editor) {
		this.editor = editor;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}
	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	public String getCompCode() {
		return compCode;
	}

	public void setCompCode(String compCode) {
		this.compCode = compCode;
	}

		
}
